package com.sunyard.dal.bo.device.lock;

import com.sunyard.dal.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author wp
 * @Date: 2022/10/8 14:29
 * @Description: 系统日志bo
 */
@Data
public class LogBO extends BaseBO {
    private static final long serialVersionUID = 1900049917536415061L;

    @NotBlank(message = "机构id不能为空")
    @ApiModelProperty(value = "机构id")
    private String orgId;

    @NotBlank(message = "操作用户ID不能为空")
    @ApiModelProperty(value = "操作用户ID名称")
    private String opId;

    @NotBlank(message = "操作人名称不能为空")
    @ApiModelProperty(value = "操作人名称")
    private String opName;

    @ApiModelProperty(value = "操作描述")
    private String operationDesc;

    @NotBlank(message = "操作名称不能为空")
    @ApiModelProperty(value = "操作名称")
    private String logName;

    @NotBlank(message = "操作状态不能为空")
    @ApiModelProperty(value = "操作状态 0-失败 1-成功")
    private String logStatus;

}
